package com.security.domain.authority;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.security.core.GrantedAuthority;

/**
 * @author 大忽悠
 * @create 2022/10/10 12:33
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class CommonAuthority implements GrantedAuthority {
    private String authority;

    @Override
    public String getAuthority() {
        return authority;
    }
}
